<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <script src="/jquery.min.js"></script>

  <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="/cropper/cropper.min.css" rel="stylesheet">
  <link href="/sitelogo/sitelogo.css" rel="stylesheet">

  <script src="/cropper/cropper.min.js"></script>
  <script src="/sitelogo/sitelogo.js"></script>
  <script src="/bootstrap/js/bootstrap.min.js"></script>

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <meta name="viewport" content="width=device-width, initial-scale=1" /> 
  <link href="/css/bootstrap.css" rel="stylesheet" type="text/css" /> 
  <link href="/css/common.css" rel="stylesheet" type="text/css" /> 
  <link href="/css/whir_common.css" rel="stylesheet" type="text/css" /> 
  <link href="/css/whir_grzx.css" rel="stylesheet" type="text/css" /> 
  <script src="/js/jquery-1.9.1.min.js" type="text/javascript"></script> 
  <script src="/js/jquery.SuperSlide.2.1.1.js" type="text/javascript"></script> 
  <script src="/js/bootstrap.min.js" type="text/javascript"></script> 
  <script src="/js/common.js" type="text/javascript"></script> 
  <script src="/js/layer/layer.js" type="text/javascript"></script> 
  <title>搜索结果-</title> 
 </head> 
 <body> 
  <div id="header_top"> 
   <div class="page_header"> 
    <div class="header_style"> 
     <div class="clearfix"> 
      <a href="/#" class="logo_style"><img src="/images/logo.png" width="150px" /></a>
      <ul class="nav_list"> 
       <li class="nav_link"><a href="/index.html" class="Channel_name"><i class="i icon_home"></i>首页</a></li> 
       <li class="nav_link Channel_link"> <a href="/javascript:" class="Channel_name"><i class="i icon_nav"></i>频道<i class="i i_arw2"></i></a> 
        <div class="Channel_nav_list"> 
         <ul class=" clearfix"> 
          <li class="Channel_color"><a href="/list_page.html"><i class="icon_TV"></i>电视剧</a></li> 
          <li class="Channel_color split_line"><a href="/#"><i class="icon_TV"></i>体育</a></li> 
          <li class="Channel_color split_line"><a href="/#"><i class="icon_TV"></i>电影</a></li> 
          <li class="Channel_color split_line"><a href="/#"><i class="icon_TV"></i>网络电影</a></li> 
          <li class="Channel_color split_line"><a href="/#"><i class="icon_TV"></i>综艺</a></li> 
          <li class="Channel_color split_line"><a href="/#"><i class="icon_TV"></i>动漫</a></li> 
          <li class="Channel_color split_line"><a href="/#"><i class="icon_TV"></i>纪录片</a></li> 
          <li class="Channel_color split_line"><a href="/#"><i class="icon_TV"></i>公开课</a></li> 
         </ul> 
        </div> </li> 
      </ul> 
      <div class="search_style"> 
       <input name="" type="text" class="search" />
       <button name="" type="button" class="button_submit" onclick="submit_btn()"><i class="icon_search"></i>搜索</button> 
      </div> 
     </div> 
    </div> 
   </div> 
   <!--搜索样式--> 
   <div class="page_style clearfix"> 
    <div class="clearfix"> 
     <div class="subbox"> 
      <!--左侧部分--> 
      <div class="left180"> 
       <div class="grtx"> 
        <div class="grimg">
         <div class="ibox-content">
          <div class="row">
           <div id="crop-avatar" class="col-md-6">
            <div class="avatar-view" title="Change Logo Picture">
             <img src="${user1.userHardUrl}" alt="Logo">
            </div>
           </div>
          </div>
         </div>

         <div class="modal fade" id="avatar-modal" aria-hidden="flash" aria-labelledby="avatar-modal-label" role="dialog" tabindex="-1">
          <div class="modal-dialog modal-lg">
           <div class="modal-content">
            <form class="close" action="/uploadImage/addShowImage" enctype="multipart/form-data" method="post">
             <input type="hidden" name="userId" value="${user1.userId}"/>
             <div class="modal-header">
              <button class="close" data-dismiss="modal" type="button">&times;</button>
              <h4 class="modal-title" action="/uploadImage/addShowImage" enctype="multipart/form-data" method="post" id="avatar-modal-label">Change Logo Picture</h4>
             </div>
             <div class="modal-body">
              <div class="avatar-body">
               <div class="avatar-upload">
                <input class="avatar-src" name="avatar_src" type="hidden">
                <input class="avatar-data" name="avatar_data" type="hidden">
                <label for="avatarInput">图片上传</label>
                <input type=file   id="avatarInput" class="avatar-input" name="fileName" type="file" />
                <div class="row">
                 <div class="col-md-9">
                  <div class="avatar-wrapper"></div>
                 </div>
                 <div class="col-md-3">
                  <div class="avatar-preview preview-lg"></div>
                  <div class="avatar-preview preview-md"></div>
                  <div class="avatar-preview preview-sm"></div>
                 </div>
                </div>
                <div class="row avatar-btns">
                 <div class="col-md-9">
                  <div class="btn-group">
                   <button class="btn" data-method="rotate" data-option="-90" type="button" title="Rotate -90 degrees"><i class="fa fa-undo"></i> 向左旋转</button>
                  </div>
                  <div class="btn-group">
                   <button class="btn" data-method="rotate" data-option="90" type="button" title="Rotate 90 degrees"><i class="fa fa-repeat"></i> 向右旋转</button>
                  </div>
                 </div>
              <input type="submit" class="btn btn-success btn-block avatar-save" value="提交" />
                </div>
               </div>
              </div>
             </div>

            </form>
           </div>
          </div>
         </div>
         <div class="loading" aria-label="Loading" role="img" tabindex="-1"></div>

        </div> 
        <div class="grname">
         <a href="/#">${user1.userName}</a>
        </div> 
       </div> 
       <ul class="menu1" > 
        <li class="on"><a onclick="return click_a('divOne_1')" style="cursor:pointer;"><em id="div_one">个人中心</em></a></li>  
        <div class="menubox"> 
         <p><a href="/user3/in">个人资料</a></p>
         <p><a href="/miss/modifyPassword">账户安全</a></p>
         <p><a href="/user2/user">我的关注</a></p>
        </div> 
       </ul> 
       <script language="javascript" type="text/javascript">

        function click_a(divDisplay)
        {
            if(document.getElementById(divDisplay).style.display != "block")
            {
                document.getElementById(divDisplay).style.display = "block";
            }
            else
            {
                document.getElementById(divDisplay).style.display = "none";
            }
        }
    </script>  
       <ul class="menu3"> 
        <li><a href="/#"><em>视频管理</em></a></li> 
        <div class="menubox"> 
         <p><a href="/个人中心-上传视频.html">上传视频</a></p> 
         <p><a href="/#">我的收藏</a></p> 
         <p><a href="/个人中心-观看记录.html">观看记录</a></p> 
        </div> 
       </ul> 
       <ul class="menu4">
        <li></li>
        <div class="menubox">
         <p></p>
         <p></p>
        </div>
       </ul>  
      </div> 
      <!--右侧部分--> 
      <div class="right840">
       <div class="display">
        <form action="/user3/in" method="post">
        <table width="840" height="900" align="center" cellspacing="0" cellpadding="0" class="tab"> 
         <tbody>
          <tr> 
           <td><font class="f_red">*</font>&nbsp;&nbsp;&nbsp;<b>用户名:</b></td> 
           <td>&nbsp;&nbsp;&nbsp;${user1.userName} &nbsp;&nbsp;&nbsp;</td>
          </tr> 
          <tr> 
           <td><font class="f_red">*</font>&nbsp;&nbsp;&nbsp;<b>邮 箱:</b></td>
           <td><input type="text" name="email" value="${user1.userEmail}"></td>
          </tr> 
          <tr> 
           <td><font class="f_red">*</font>&nbsp;&nbsp;&nbsp;<b>手 机:</b></td> 
           <td>&nbsp;&nbsp;&nbsp;${user1.userPhone} &nbsp;&nbsp;&nbsp;<a href="/#">[修改]</a></td>
          </tr>
          <tr> 
           <td><font class="f_red">*</font>&nbsp;&nbsp;&nbsp;<b>性别:</b></td> 
           <td>&nbsp;&nbsp;&nbsp;
            <c:if test="${user1.userSex=='男'}">
             <input type="radio" name="sex" value="男" checked/> 男
             <input type="radio" name="sex" value="女" /> 女
            </c:if>
            <c:if test="${user1.userSex==null}">
             <input type="radio" name="sex" value="男" /> 男
             <input type="radio" name="sex" value="女" /> 女
            </c:if>
            <c:if test="${user1.userSex=='女'}">
             <input type="radio" name="sex" value="男" /> 男
             <input type="radio" name="sex" value="女" checked /> 女
            </c:if>
            </td>
          </tr>
          <tr> 
           <td>&nbsp;&nbsp;&nbsp;<b>兴趣爱好:</b></td> 
           <td>&nbsp;&nbsp;&nbsp; <textarea name="text_like" class="input4" style="width:430px; height:130px;">${user1.userLike}</textarea></td>
          </tr> 
          <tr> 
           <td>&nbsp;&nbsp;&nbsp;<b>个人介绍:</b></td> 
           <td>&nbsp;&nbsp;&nbsp; <textarea name="text_info" class="input4" style="width:430px; height:130px;">${user1.userInfo}</textarea></td>
          </tr>  
          <tr> 
           <td></td> 
           <td colspan="2">&nbsp;&nbsp;&nbsp; <input type="submit"  value="保存信息" class="btn1" /> &nbsp;&nbsp;&nbsp; <input type="reset" value="取消" class="btn4" /></td>
          </tr> 
         </tbody>
        </table>
        </form>
       </div> 
      </div> 
     </div> 
    </div>
   </div>
    <!--底部样式--> 
    <div class="footer_style"> 
     <div class="footer"> 
      <div class="copys copys-list clearfix"> 
       <a href="/#">网络文化经营许可证 京网文[2014]xxxxx-236号</a> 
       <a href="/#">京卫网审[2013]第0209号 网络110报警服务</a> 
       <a href="/#">药品服务许可证(京)-经营2222-0029</a> 
       <a href="/#">节目制作经营许可证京字670号</a> 
      </div> 
      <div class="link_name"> 
       <a href="/#">关于我们</a>|
       <a href="/#">媒体合作</a>|
       <a href="/#">开放平台</a>|
       <a href="/#">广告服务</a>|
       <a href="/#">联系我们</a>|
       <a href="/#">工作机会</a>|
       <a href="/#">友情链接</a>
      </div> 
      <div class="Copyright">
       Copyright &copy; 2004-2017 视频名称（xx.com）All rights reserved.
      </div> 
      <div class="align clearfix"> 
       <a href="/#"><img src="/images/ghs.png" />京公网安备：xxxxxxxxxxxxxxxx号</a> &nbsp;&nbsp;&nbsp; 
       <a href="/#"><img src="/images/xy.png" />中国互联网诚信联盟</a> 
      </div> 
     </div> 
    </div> 
    <!-- 代码 开始 --> 
    <div class="go-top dn" id="go-top"> 
     <a href="/zhuce.html" target="_blank" class="feedback"></a> 
     <a href="/javascript:;" class="go"></a> 
    </div>   
    <script type="text/javascript">

var speed=50
function Marquee(){ 
if(demo.scrollLeft>=marquePic1.scrollWidth){ 
demo.scrollLeft=0 
}else{ 
demo.scrollLeft++ 
} 
} 
var MyMar=setInterval(Marquee,speed) 
demo.onmouseover=function() {clearInterval(MyMar)} 
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)} 
</script> 
    <script>
/*********搜索*********/
function submit_btn(){
	 $(".search_style input[type$='text']").each(function(n){
		  if($(this).val()=="")
          {
               
			   layer.alert("搜索框不能为空！",{
                title: '提示框',				
				icon:0,								
          }); 		    
            return false;            
          } 
		 else{
			 location.href="/search_page.html";
			 
			 }
		 })		
}
</script>

   </div>
  </div>
 </body>
</html>
<script type="text/javascript">


    function previewImage(file, prvid) {
        /* file：file控件
        * prvid: 图片预览容器
        */
        var tip = "Expect jpg or png or gif!"; // 设定提示信息
        var filters = {
            "jpeg" : "/9j/4",
            "gif" : "R0lGOD",
            "png" : "iVBORw"
        }
        var prvbox = document.getElementById(prvid);
        prvbox.innerHTML = "";
        if (window.FileReader) { // html5方案
            for (var i = 0, f; f = file.files[i]; i++) {
                var fr = new FileReader();
                fr.onload = function(e) {
                    var src = e.target.result;
                    if (!validateImg(src)) {
                        alert(tip)
                    } else {
                        showPrvImg(src);
                    }
                }
                fr.readAsDataURL(f);
            }
        } else { // 降级处理

            if (!/\.jpg$|\.png$|\.gif$/i.test(file.value)) {
                alert(tip);
            } else {
                showPrvImg(file.value);
            }
        }

        function validateImg(data) {
            var pos = data.indexOf(",") + 1;
            for ( var e in filters) {
                if (data.indexOf(filters[e]) === pos) {
                    return e;
                }
            }
            return null;
        }

        function showPrvImg(src) {
            var img = document.createElement("img");
            img.src = src;
            prvbox.appendChild(img);
        }
    }
</script>

